//
// Source code recreated from ConfigVo .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.ht.modules.system.online.cgform.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

@TableName("onl_cgform_enhance_js")
public class OnlCgformEnhanceJs implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(
        type = IdType.ASSIGN_UUID
    )
    private String id;
    private String cgformHeadId;
    private String cgJsType;
    private String cgJs;
    private String content;

    public OnlCgformEnhanceJs() {
    }

    public String getId() {
        return this.id;
    }

    public String getCgformHeadId() {
        return this.cgformHeadId;
    }

    public String getCgJsType() {
        return this.cgJsType;
    }

    public String getCgJs() {
        return this.cgJs;
    }

    public String getContent() {
        return this.content;
    }

    public void setId(final String id) {
        this.id = id;
    }

    public void setCgformHeadId(final String cgformHeadId) {
        this.cgformHeadId = cgformHeadId;
    }

    public void setCgJsType(final String cgJsType) {
        this.cgJsType = cgJsType;
    }

    public void setCgJs(final String cgJs) {
        this.cgJs = cgJs;
    }

    public void setContent(final String content) {
        this.content = content;
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof OnlCgformEnhanceJs)) {
            return false;
        } else {
            OnlCgformEnhanceJs other = (OnlCgformEnhanceJs)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label71: {
                    Object this$id = this.getId();
                    Object other$id = other.getId();
                    if (this$id == null) {
                        if (other$id == null) {
                            break label71;
                        }
                    } else if (this$id.equals(other$id)) {
                        break label71;
                    }

                    return false;
                }

                Object this$cgformHeadId = this.getCgformHeadId();
                Object other$cgformHeadId = other.getCgformHeadId();
                if (this$cgformHeadId == null) {
                    if (other$cgformHeadId != null) {
                        return false;
                    }
                } else if (!this$cgformHeadId.equals(other$cgformHeadId)) {
                    return false;
                }

                label57: {
                    Object this$cgJsType = this.getCgJsType();
                    Object other$cgJsType = other.getCgJsType();
                    if (this$cgJsType == null) {
                        if (other$cgJsType == null) {
                            break label57;
                        }
                    } else if (this$cgJsType.equals(other$cgJsType)) {
                        break label57;
                    }

                    return false;
                }

                Object this$cgJs = this.getCgJs();
                Object other$cgJs = other.getCgJs();
                if (this$cgJs == null) {
                    if (other$cgJs != null) {
                        return false;
                    }
                } else if (!this$cgJs.equals(other$cgJs)) {
                    return false;
                }

                Object this$content = this.getContent();
                Object other$content = other.getContent();
                if (this$content == null) {
                    if (other$content == null) {
                        return true;
                    }
                } else if (this$content.equals(other$content)) {
                    return true;
                }

                return false;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof OnlCgformEnhanceJs;
    }

//    public int hashCode() {
//        int PRIME = true;
//        int result = 1;
//        Object $id = this.getId();
//        int result = result * 59 + ($id == null ? 43 : $id.hashCode());
//        Object $cgformHeadId = this.getCgformHeadId();
//        result = result * 59 + ($cgformHeadId == null ? 43 : $cgformHeadId.hashCode());
//        Object $cgJsType = this.getCgJsType();
//        result = result * 59 + ($cgJsType == null ? 43 : $cgJsType.hashCode());
//        Object $cgJs = this.getCgJs();
//        result = result * 59 + ($cgJs == null ? 43 : $cgJs.hashCode());
//        Object $content = this.getContent();
//        result = result * 59 + ($content == null ? 43 : $content.hashCode());
//        return result;
//    }
//
//    public String toString() {
//        return "OnlCgformEnhanceJs(id=" + this.getId() + ", cgformHeadId=" + this.getCgformHeadId() + ", cgJsType=" + this.getCgJsType() + ", cgJs=" + this.getCgJs() + ", content=" + this.getContent() + ")";
//    }
}
